using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN PhongHocNgayNghiService****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:25/02/2012 41:11:06</para>
	/// <para>Class Name: PhongHocNgayNghiService</para>
	/// <para>Description: </para>
	///</summary>

	
	public partial class PhongHocNgayNghiService : IPhongHocNgayNghiService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: PhongHocNgayNghi_ID</para>
		/// <para>Output: PhongHocNgayNghiEntity</para>
		///</summary>
		public PhongHocNgayNghiEntity SelectOne(int PhongHocNgayNghi_ID){
			PhongHocNgayNghiDAO dao = new PhongHocNgayNghiDAO();
			return dao.SelectOne(PhongHocNgayNghi_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of PhongHocNgayNghiEntity</para>
		///</summary>
		public List<PhongHocNgayNghiEntity> SelectAll(){
			PhongHocNgayNghiDAO dao = new PhongHocNgayNghiDAO();
			return dao.SelectAll();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDS(){
			PhongHocNgayNghiDAO dao = new PhongHocNgayNghiDAO();
			return dao.SelectAllDS();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of PhongHocNgayNghiEntity</para>
		///</summary>
		public List<PhongHocNgayNghiEntity> SelectAllFilter(string strFilter){
			PhongHocNgayNghiDAO dao = new PhongHocNgayNghiDAO();
			return dao.SelectAllFilter(strFilter);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDSFilter(string strFilter){
			PhongHocNgayNghiDAO dao = new PhongHocNgayNghiDAO();
			return dao.SelectAllDSFilter(strFilter);
		}
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: Save</para>
		/// <para>Input: PhongHocNgayNghiEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Save(PhongHocNgayNghiEntity o){
			PhongHocNgayNghiDAO dao = new PhongHocNgayNghiDAO();
			return dao.Save(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: Save</para>
		/// <para>Input: PhongHocNgayNghiEntity</para>
		/// <para>Output: PhongHocNgayNghiEntity</para>
		///</summary>
		public PhongHocNgayNghiEntity SaveRet(PhongHocNgayNghiEntity o){
			PhongHocNgayNghiDAO dao = new PhongHocNgayNghiDAO();
			dao.Save(o);
			return o;
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of PhongHocNgayNghiEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void SaveList(List<PhongHocNgayNghiEntity> list){
			PhongHocNgayNghiDAO dao = new PhongHocNgayNghiDAO();
			dao.SaveList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of PhongHocNgayNghiEntity</para>
		/// <para>Output: List of PhongHocNgayNghiEntity</para>
		///</summary>
		public List<PhongHocNgayNghiEntity> SaveListRet(List<PhongHocNgayNghiEntity> list){
			this.SaveList(list);
			return list;
		}
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: Update</para>
		/// <para>Input: PhongHocNgayNghiEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Update(PhongHocNgayNghiEntity o){
			PhongHocNgayNghiDAO dao = new PhongHocNgayNghiDAO();
			return dao.Update(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of PhongHocNgayNghiEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void UpdateList(List<PhongHocNgayNghiEntity> list){
			PhongHocNgayNghiDAO dao = new PhongHocNgayNghiDAO();
			dao.UpdateList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: UpdatePhongHoc_ID</para>
		/// <para>Input: NewPhongHoc_ID,PhongHocNgayNghi_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdatePhongHoc_ID(int NewPhongHoc_ID,int PhongHocNgayNghi_ID){
			PhongHocNgayNghiDAO dao = new PhongHocNgayNghiDAO();
			return dao.UpdatePhongHoc_ID(NewPhongHoc_ID,PhongHocNgayNghi_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: UpdateThu_ID</para>
		/// <para>Input: NewThu_ID,PhongHocNgayNghi_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateThu_ID(int NewThu_ID,int PhongHocNgayNghi_ID){
			PhongHocNgayNghiDAO dao = new PhongHocNgayNghiDAO();
			return dao.UpdateThu_ID(NewThu_ID,PhongHocNgayNghi_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: UpdateTietHoc_ID</para>
		/// <para>Input: NewTietHoc_ID,PhongHocNgayNghi_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateTietHoc_ID(int NewTietHoc_ID,int PhongHocNgayNghi_ID){
			PhongHocNgayNghiDAO dao = new PhongHocNgayNghiDAO();
			return dao.UpdateTietHoc_ID(NewTietHoc_ID,PhongHocNgayNghi_ID);
		}
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: Delete</para>
		/// <para>Input: PhongHocNgayNghiEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Delete(PhongHocNgayNghiEntity o){
			PhongHocNgayNghiDAO dao = new PhongHocNgayNghiDAO();
			return dao.Delete(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: PhongHocNgayNghi_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool DeleteByID(int PhongHocNgayNghi_ID){
			PhongHocNgayNghiDAO dao = new PhongHocNgayNghiDAO();
			return dao.DeleteByID(PhongHocNgayNghi_ID);
		}
		#endregion

		#region Select join to PhongHocThuTrongTuanTietHoc functions
		#endregion

		#region Select join to PhongHoc functions
		#endregion

		#region Select join to ThuTrongTuan functions
		#endregion

		#region Select join to TietHoc functions
		#endregion

		#region Select,delete by PhongHocNgayNghi_ID functions
		#endregion

		#region Select,delete by PhongHoc_ID functions
		#endregion

		#region Select,delete by Thu_ID functions
		#endregion

		#region Select,delete by TietHoc_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END PhongHocNgayNghiWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

